package m1.server.connecteur.clearancerequest;

import m2.connecteur.ConnecteurSimple;
 public class ClearanceRequest extends ConnecteurSimple{

	public ClearanceRequest() {
		super("ClearanceRequest");
		
		GlueClearanceRequest glue =new GlueClearanceRequest();
		this.setGlue(glue);
		
		SecurityManagerRF securityManagerRF = new SecurityManagerRF();
		addRoleFournis(securityManagerRF);
		
		ConnectionManagerRR connectionManagerRR = new ConnectionManagerRR();
		addRoleRequis(connectionManagerRR);
		
		glue.associate(connectionManagerRR, securityManagerRF);
		
		
		SecurityManagerRR securityManagerRR = new SecurityManagerRR();
		addRoleRequis(securityManagerRR);
		
		ConnectionManagerRF connectionManagerRF = new ConnectionManagerRF();
		addRoleFournis(connectionManagerRF);
		
		glue.associate(securityManagerRR,connectionManagerRF);
		
		
	}
	  
 }